<template>
  <div class="page">
    <h1>403</h1>
    <p>你没有权限访问该页面</p>
    <el-space>
      <el-button @click="goHome">回到首页</el-button>
      <el-button @click="goLogin">重新登录</el-button>
    </el-space>
  </div>
</template>

<script>
export default {
  name: "403",

  methods: {
    goHome() {
      this.$router.push("/");
    },

    goLogin() {
      this.$router.push("/login");
    },
  },
};
</script>
